package ch.selise.designpattern;

import java.util.Scanner;

import ch.selise.designpattern.report.CsvExporter;
import ch.selise.designpattern.report.Exporter;
import ch.selise.designpattern.report.ExporterFactory;
import ch.selise.designpattern.report.MsWordExporter;
import ch.selise.designpattern.report.PdfExporter;

public class ReportGeneratorMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Exporter exporter = null;
		
		try {
			Scanner in = new Scanner(System.in);
			String commandStr = in.nextLine();
			ExporterFactory.getExporter(commandStr);
			
			
			
		} catch (Exception e) {
			e.printStackTrace();
		}
		
		if(exporter != null){
			exporter.export(new Object());
		}

	}

}
